/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package swa.e_store.businessLogic;

import java.util.ArrayList;
import swa.e_store.DTO.*;
import swa.e_store.entity.OrderItem;
import swa.e_store.entity.PurchaseItem;

/**
 *
 * @author Stefan
 */
public interface BL_Interface {
    
    ArticleDTO setPrice(int artNbr, long price, int USR);
    OfferDTO createOffer(int artNbr, int amount, String dateFrom, String dateTo, int USR);
    void setOffer(int artNbr, int offerId);
    void setOrder(ArrayList<OrderItem> orderItemList, int USRID, String date);
    StockDTO getStock();
    ShopReportDTO getShopReport();
    CustomerReportDTO getCustomerReport(int CustomerNbr, String dateFrom, String dateTo);
    AuthenticationDTO authenticate(String username, String password);
    ArticleDTO getArticleTable();
    ArticleDTO getArticleTableByOffer(int offerId);
    OfferDTO getOfferTable();
    void setPurchase(ArrayList<PurchaseItem> purchaseItemList, int customoerId, String date);
    
    CustomerDTO getCustomerInfo(int customerNbr, int USR);
    EmployeeDTO getEmployeeInfo(int EmployeeNbr, int USR);


    
    
}
